#pragma once
class MyFirstClass
{
public:
	void swap(int& a, int& b) {
		int temp;
		temp = a;
		a = b;
		b = temp;
	};
	void print();
	void setpoint(int x, int y);

private:
	int xpos;
	int ypos;
};
void MyFirstClass::setpoint(int x, int y) {
	xpos = x;
	ypos = y;
};
void MyFirstClass::print() {
	std::cout << "x = " << xpos << std::endl;
	std::cout << "y = " << ypos << std::endl;
}
